HTMLify
style.css
Views: 15 | Author: huxn-webdev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | @import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; color: #444; } a { text-decoration: none; color: inherit; } body { font-family: "Poppins", sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; } .container { max-width: 600px; width: 100%; } ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; height: 30px; } li a { color: #a4a4a4; } li a:hover { padding-bottom: 4px; border-bottom: 3px solid blueviolet; } .wrapper_tab-content { position: relative; } .tab-content { position: absolute; padding: 1.75em 0; visibility: hidden; height: 0; } .tab-content h1 { font-size: 1.12em; margin-bottom: 0.5em; } .content-visible { position: static; visibility: inherit; visibility: inherit; height: auto; } .active { color: #444; padding-bottom: 4px; border-bottom: 3px solid blueviolet; } |